package com.wisdytech.linkdcs.system.vo;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * <p>ClassName: ResourceNodeVO</p>
 * <p>Description: 资源节点对象</p>
 * <p>Author: dailibo</p>
 * <p>Date: 2017-9-24</p>
 */
public class ResourceNodeVO implements Serializable{

    /**
     * <p>Field serialVersionUID: TODO</p>
     */
    private static final long serialVersionUID = -9137034541890482592L;
    
    /**资源id*/
    private String id;
    
    /**是否拥有*/
    private boolean enable;
    
    /**父资源id*/
    private String parentId;
    
    /**名称*/
    private String name;
    
    /**访问链接*/
    private String url;
    
    /**资源编码*/
    private String code;

    /**资源图标*/
    private String iconCls;

    /**资源所属系统*/
    private String belongSystem;
    
    /**子资源列表*/
    private List<ResourceNodeVO> children;
    
    public ResourceNodeVO(){
        
    }
    
    public ResourceNodeVO(String pkId,String name,String parentId,String url){
        this.id=pkId;
        this.name =name;
        this.parentId=parentId;
        this.url=url;
    }
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    
    

    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public List<ResourceNodeVO> getChildren() {
        return children;
    }

    public void setChildren(List<ResourceNodeVO> children) {
        this.children = children;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public String getBelongSystem() {
        return belongSystem;
    }

    public void setBelongSystem(String belongSystem) {
        this.belongSystem = belongSystem;
    }
}
